package cn.mineserv.video.videoordersystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "favorite")
public class Favorite implements Serializable {
    @TableId(value = "favorite_id", type = IdType.AUTO)
    private Integer favoriteId;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "media_id")
    private Integer mediaId;

    private static final long serialVersionUID = 1L;

    public static final String COL_FAVORITE_ID = "favorite_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_MEDIA_ID = "media_id";
}